package com.zsgl.domain;

import javax.persistence.ManyToOne;

public class Hotel {

	private static final long serialVersionUID = 1L;
	
	private long id;
	
	/**
	 * 酒店名称
	 */
	private String name;
	
	@ManyToOne
	private HotelAddress address;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public HotelAddress getAddress() {
		return address;
	}

	public void setAddress(HotelAddress address) {
		this.address = address;
	}
	
}
